<form id="pagerForm" action="__URL__" method="post">
	<input type="hidden" name="pageNum" value="1"/>
	<input type="hidden" name="name" value="{$_REQUEST.name}"/>
</form>


<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="__URL__/index" method="post">
	<div class="searchBar">
		<!--<ul class="searchContent">
			<li>
				<label>我的客户：</label>
				<input type="text"/>
			</li>
			<li>
			<select class="combox" name="province">
				<option value="">所有省市</option>
				<option value="北京">北京</option>
				<option value="上海">上海</option>
				<option value="天津">天津</option>
				<option value="重庆">重庆</option>
				<option value="广东">广东</option>
			</select>
			</li>
		</ul>
		-->
		<table class="searchContent">
			<tr>
				<td>
					类名：<input type="text" name="searchname" />
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
				<!--<li><a class="button" href="demo_page6.html" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>-->
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="__URL__/add" target="navTab" mask='true' ><span>新增类别</span></a></li>
			<li><a class="delete" href="__URL__/foreverdelete/c_id/{sid_category}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="__URL__/edit/c_id/{sid_category}" target="navTab" mask="true" warn="请选择类别"><span>修改类别</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th >类别名称</th>
				<th >父类名称</th>
				<th width="120">状态</th>
				<th width="100">创建时间</th>
				<th width="150">操作</th>
			</tr>
		</thead>
		<tbody>
			<volist name="list" id="cvalue">
				<tr target="sid_category" rel="{$cvalue['c_id']}">
					<td>{$cvalue.c_name}</td>
					<td>{$cvalue.c_parentid}</td>
					<td>{$cvalue['c_status']|getStatus}</td>
					<td>{$cvalue.c_createtime}</td>
					<td>{$cvalue['c_status']|showStatusAjax=$cvalue['c_id'],'navTabAjaxReload'}</td>
				</tr>
			</volist>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
	</div>
</div>
